import * as types from './types'
export default {
  // head显示和隐藏
  showHead: ({commit, state}, payload) => {
    commit(types.SHOW_HEAD)
  },
  hideHead: ({commit, state}, payload) => {
    commit(types.HIDE_HEAD)
  },
  //aside显示和隐藏
  showAside: ({commit, state}, payload) => {
    commit(types.SHOW_ASIDE)
  },
  hideAside: ({commit, state}, payload) => {
    commit(types.HIDE_ASIDE)
  },
}
